﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace DienThoai
{
	/// <summary>
	/// Interaction logic for ConfirmID.xaml
	/// </summary>
	public partial class ConfirmID : Window
	{
        public string Code;
		public ConfirmID()
		{
			this.InitializeComponent();
			
			// Insert code required on object creation below this point.
		}

        private void btConfirm_Click(object sender, RoutedEventArgs e)
        {
            if (txtCode.Text != "")
            {
                Code = txtCode.Text;
                DialogResult = true;
            }
            else
                MessageBox.Show("Chưa nhập mã.");
        }
	}
}